using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace MonitoringService
{
	/// <summary>
	/// Marker class
	/// </summary>
	public class Marker1
	{
    private int id;
    private string name;
		private double longitude;
		private double latitude;
		private double? speed;
		private DateTime lastTime;

		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		public double Longitude
		{
			get { return longitude; }
			set { longitude = value; }
		}

		public double Latitude
		{
			get { return latitude; }
			set { latitude = value; }
		}


		public double? Speed
		{
			get { return speed; }
			set { speed = value; }
		}

		public DateTime LastTime
		{
			get { return lastTime; }
			set { lastTime = value; }
		}

		public Marker1(string name, double longitude, double latitude, double? speed, DateTime lastTime)
		{
			this.name = name;
			this.longitude = longitude;
			this.latitude = latitude;
			this.lastTime = lastTime;
			this.speed = speed;
		}

		public Marker1(string name, double longitude, double latitude, double? speed)
		{
			this.name = name;
			this.longitude = longitude;
			this.latitude = latitude;
			this.lastTime = DateTime.Now;
			this.speed = speed;
		}

    public Marker1()
		{
		}
	}
}
